<div id="content">
	<div id="top">
		<h3>Edit <%= @user.real_name %></h3>
	</div>
	<div class="edit">
		<div class="edit-table">
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.account_name, 'Username' %>
					<p>User account name.</p>
				</div>
				<div class="right">
					<div class="single">
						<%= @user.account_name %>
					</div>
				</div>
			</div>
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.real_name, 'Name' %>
					<p>Who is the user?</p>
				</div>
				<div class="right">
					<div class="single">
						<%= @user.real_name %>
					</div>
				</div>
			</div>
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.email, 'Email Address' %>
					<p>What is their email address?</p>
				</div>
				<div class="right">
					<div class="single">
						<%= @user.email %>
					</div>
				</div>
			</div>
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.phone_number, 'Phone Number' %>
					<p>What is their phone number?</p>
				</div>
				<div class="right">
					<div class="single">
						<%= @user.phone_number %>
					</div>
				</div>
			</div>
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.permission_level, 'Account Type' %>
					<p>The user's account type.</p>
				</div>
				<div class="right">
					<div class="single">
						<%= @user.permission_level.to_s.capitalize %>
					</div>
				</div>
			</div>
			<div class="edit-row">
				<div class="left">
					<%= label_tag @user.location, 'Location' %>
					<p>User's Location.</p>
				</div>
				<div class="right">
					<div class="single">
						<% if @user.permission_level == "courier" %>
							<p>No Location</p>
						<% else %>
							<p><%= @user.location.name %></p>
							<p><%= @user.location.address %></p>
						<% end %>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>